﻿using System.Collections.Generic;
using Infancy.Core.Entities;
using Infancy.Core.Service;

namespace Infancy.Service
{
    public interface IThreadService : ICachedService
    {
        Thread GetById(long threadId);

        IList<Thread> GetList();

        void Save(Thread thread);

        IList<Thread> GetListByForumId(long forumId);

        IList<Post> GetPostsByThreadId(long threadId);
    }
}